package com.mvc.base.model;

import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;

import com.mvc.framework.model.CommonAuditableEntity;

@MappedSuperclass
public class BaseCompany extends CommonAuditableEntity {
	@NotNull
	private Integer	companyId;

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	@Transient
	private Company	company;

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

}
